var ctx = document.getElementById('myChart').getContext('2d');
//Chart.defaults.global.responsive=false;
Chart.defaults.global.animation.onComplete = () => {
    console.log('finish')
}
Chart.defaults.global.animation.duration = 500;
console.log(Chart.defaults);
var d1={
        labels: ["January", "February", "March"],
        datasets: [{
            label: "My First dataset",
            fill:false,
            pointRadius:5,
            showLine:true,
            backgroundColor: 'rgb(255, 99, 132)',
            borderColor: 'rgb(255, 99, 132)',
            data: [30, 10, 15, 12, 20, 30, 45],
        }]
    }
var chart = new Chart(ctx, {
    // The type of chart we want to create
    type: 'line',

    // The data for our dataset
    data: d1,

    // Configuration options go here
    options: {


    }
});